package com.xyy.ec.qualification.pojo;

import lombok.Data;

import java.util.Objects;

@Data
public class ServiceResultDto {
    //代码 200成功
    private Integer code;
    //msg 返回消息
    private String msg;
    //返回数据
    private String data;
    //签名
    private String sign;

    public boolean isSuccess(){
        return Objects.equals(code,200);
    }
}
